package com.zjq.designpatterns.behaviors.chainofresponsibility.code;/*
 * 版权信息: 北京千⾥马网信科技有限公司</br>
 * Copyright ©2008-2018. All rights reserved. 京ICP备16007318号
 */

/**
 * 批准者
 * 手记和视频等的批准者都继承这个类
 * @author jessie
 * @version 1.0
 * @date 2021/1/28
 */
public abstract class Approver {
    protected Approver approver;
    public void setNextApprover(Approver approver){
        this.approver = approver;
    }
    //发布要做各种校验
    public abstract void deploy(Course course);
}
